package com.itheima.web.mapper.pms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.vo.pms.PmsProductFullReduction;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface PmsProductFullReductionMapper extends BaseMapper<PmsProductFullReduction> {

    @Select("select * from pms_product_full_reduction where product_id=#{id}")
    public List<PmsProductFullReduction> getByProductId4(Integer id);
}
